﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ImportInternalElementCollectionViewModel.cs" >
//   J. Prinz
// </copyright>
// <summary>
//   ViewModel to represent a collection of ImportInternalElementViewModels <see cref="ImportInternalElementViewModel" />
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace AutomationMLMapper.ViewModels.CAEXObjectCollectionViewModels
{
    using System.Windows.Data;

    using AutomationMLMapper.ViewModels.CAEXObjectViewModels;

    /// <summary>
    ///   ViewModel to represent a collection of ImportInternalElementViewModels <see cref="ImportInternalElementViewModel" />
    /// </summary>
    public class ImportInternalElementCollectionViewModel :
        CAEXObjectCollectionViewModel<ImportInternalElementViewModel>
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="ImportInternalElementCollectionViewModel"/> class. 
        /// </summary>
        /// <param name="parent">
        /// should be a systemUnitClassViewModel <see cref="SystemUnitClassViewModel"/> 
        /// </param>
        public ImportInternalElementCollectionViewModel(ICAEXObject parent)
            : base(parent)
        {
            var gd = new PropertyGroupDescription("RoleRequirementName");
            this.GroupDescriptions.Add(gd);
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///   DisplayName of the Collection in the UI used in Headers and Labels
        /// </summary>
        public new string DisplayName
        {
            get
            {
                return "Imported InternalElements";
            }
        }

        #endregion
    }
}